﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YmtAuth.Domain.Model.Safe;
using YmtAuth.Domain.Repository.MySql;
using YmtAuth.Dto;

namespace YmtAuth.Domain.Repository
{
    public interface IAuthSafeVerifyLogRepository : IMySQLRepository<SafeVerifyLogEntity>
    {
        /// <summary>
        /// 获取最近X天的用户（登录名）登录风控日志（pc, app）
        /// </summary>
        /// <param name="userId"></param>
        /// <param name="loginId"></param>
        /// <param name="mobile"></param>
        /// <param name="email"></param>
        /// <param name="dayCount"></param>
        /// <returns></returns>
        ResponseData<List<SafeVerifyLogEntity>> GetLastLoginSafeVerifyLog(int userId, string loginId, string mobile, string email, int dayCount);
    }
}
